package cn.xspace.wnx.entity;

import java.util.List;

/**
 * Created by Administrator on 2016/10/14 0014.
 */
public class PushBean {

    public Body body;
    public MsgInfo msgInfo;
    public List<Property> properties;

    @Override
    public String toString() {
        return "PushBean{" +
                "body=" + body.toString() +
                ", msgInfo=" + msgInfo.toString() +
                ", properties=" + properties +
                '}';
    }

    public class MsgInfo {
        private String platForm;
        private String bizCode;
        private String senderId;
        private String senderName;
        private String senderPhone;
        private String sendTime;
        private String sendDeptId;
        private String sendDeptName;
        private String msgId;
        private String msgLogo;
        private String logo;
        private String msgSequenceId;
        private String msgType;
        private String msgChannel;

        @Override
        public String toString() {
            return "MsgInfo{" +
                    "platForm='" + platForm + '\'' +
                    ", bizCode='" + bizCode + '\'' +
                    ", senderId='" + senderId + '\'' +
                    ", senderName='" + senderName + '\'' +
                    ", senderPhone='" + senderPhone + '\'' +
                    ", sendTime='" + sendTime + '\'' +
                    ", sendDeptId='" + sendDeptId + '\'' +
                    ", sendDeptName='" + sendDeptName + '\'' +
                    ", msgId='" + msgId + '\'' +
                    ", msgLogo='" + msgLogo + '\'' +
                    ", logo='" + logo + '\'' +
                    ", msgSequenceId='" + msgSequenceId + '\'' +
                    ", msgType='" + msgType + '\'' +
                    ", msgChannel='" + msgChannel + '\'' +
                    '}';
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public String getPlatForm() {
            return platForm;
        }

        public void setPlatForm(String platForm) {
            this.platForm = platForm;
        }

        public String getBizCode() {
            return bizCode;
        }

        public void setBizCode(String bizCode) {
            this.bizCode = bizCode;
        }

        public String getSenderId() {
            return senderId;
        }

        public void setSenderId(String senderId) {
            this.senderId = senderId;
        }

        public String getSenderName() {
            return senderName;
        }

        public void setSenderName(String senderName) {
            this.senderName = senderName;
        }

        public String getSenderPhone() {
            return senderPhone;
        }

        public void setSenderPhone(String senderPhone) {
            this.senderPhone = senderPhone;
        }

        public String getSendTime() {
            return sendTime;
        }

        public void setSendTime(String sendTime) {
            this.sendTime = sendTime;
        }

        public String getSendDeptId() {
            return sendDeptId;
        }

        public void setSendDeptId(String sendDeptId) {
            this.sendDeptId = sendDeptId;
        }

        public String getSendDeptName() {
            return sendDeptName;
        }

        public void setSendDeptName(String sendDeptName) {
            this.sendDeptName = sendDeptName;
        }

        public String getMsgId() {
            return msgId;
        }

        public void setMsgId(String msgId) {
            this.msgId = msgId;
        }

        public String getMsgLogo() {
            return msgLogo;
        }

        public void setMsgLogo(String msgLogo) {
            this.msgLogo = msgLogo;
        }

        public String getMsgSequenceId() {
            return msgSequenceId;
        }

        public void setMsgSequenceId(String msgSequenceId) {
            this.msgSequenceId = msgSequenceId;
        }

        public String getMsgType() {
            return msgType;
        }

        public void setMsgType(String msgType) {
            this.msgType = msgType;
        }

        public String getMsgChannel() {
            return msgChannel;
        }

        public void setMsgChannel(String msgChannel) {
            this.msgChannel = msgChannel;
        }
    }

    public class Property {
        private String name;
        private String value;

        @Override
        public String toString() {
            return "Property{" +
                    "name='" + name + '\'' +
                    ", value='" + value + '\'' +
                    '}';
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}